package org.example.school.model.dto;

import lombok.Data;
import java.time.LocalDate;
import java.util.List;

@Data
public class GuardianProfileDTO {
    private Long userId;
    private String usertype;
    // 监护人自己的信息
    private String fullName;
    private String phoneNumber;

    // 监护人孩子的信息列表
    private List<ChildInfo> children;

    @Data
    public static class ChildInfo {
        private String fullName;
        private String studentNumber;
        private String className;
        private String gender;
        private LocalDate dateOfBirth;
    }
}